﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using WCSY.BLL;

public partial class SystemMangement_ApprovFlow_ApprovalFlowList : System.Web.UI.Page
{
    fg_approveFlowMstAppManager appm = new fg_approveFlowMstAppManager();//审批流设置主表
    protected void Page_Load(object sender, EventArgs e)
    {
        if(!IsPostBack){
            //获取数据，绑定数据列表
            DataTable dt = appm.getAllListBySql();
            gvBind(dt);
        }
    }

    //绑定列表
    public void gvBind(DataTable dt) {

        this.gvfg_approveFlowMst.DataSource = dt;
        this.gvfg_approveFlowMst.DataBind();

    }
}
